#include "queue.h"

void test()
{
	Queue queue;
	queueInit(&queue);
	queuePush(&queue, 1);
	queuePush(&queue, 2);
	queuePush(&queue, 3);
	queuePush(&queue, 4);
	printf("%d\n", queueFront(&queue));
	printf("%d\n", queueBack(&queue));
	queuePop(&queue);
	queuePop(&queue);
	queuePop(&queue);
	queuePop(&queue);
	queuePrint(&queue);
	queueDestroy(&queue);
}

int main()
{
	test();
	return 0;
}